/*
 *                    _ooOoo_
 *                   o8888888o
 *                   88" . "88
 *                   (| -_- |)
 *                   O\  =  /O
 *                ____/`- -'\____
 *              .'  \\|     |//  `.
 *             /  \\|||  :  |||//  \
 *            /  _||||| -:- |||||-  \
 *            |   | \\\  -  /// |   |
 *            | \_|  ''\- -/''  |   |
 *            \  .-\__  `-`  ___/-. /
 *          ___`. .'  /- . -\  `. . __
 *       ."" '<  `.___\_<|>_/___.'  >'"".
 *      | | :  `- \`.;`\ _ /`;.`/ - ` : | |
 *      \  \ `-.   \_ __\ /__ _/   .-` /  /
 * ======`-.____`-.___\_____/___.-`____.-'======
 *                    `=- -='
 * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 *           佛祖保佑       永无BUG
 * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 */

package com.softeem.starwars.panel;

import com.softeem.starwars.frame.MainFrame;
import javax.swing.*;
import java.awt.*;

/**
 * 结束面板
 * @Author mrchai 2020/5/16 0:07
 */
public class EndPanel extends JPanel {

    private MainFrame mainFrame;

    public EndPanel(MainFrame mainFrame){
        this.mainFrame = mainFrame;

        setLayout(new BorderLayout());
        setBackground(Color.BLACK);
        JLabel lb = new JLabel("游戏结束");
        lb.setFont(new Font("微软雅黑",Font.BOLD,50));
        lb.setForeground(Color.RED);
        lb.setVerticalAlignment(SwingConstants.CENTER);
        lb.setHorizontalAlignment(SwingConstants.CENTER);
        add(lb);

    }


}
